package br.com.cfccultura.admin.model.jobs;

import org.apache.log4j.Logger;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.quartz.QuartzJobBean;
import org.springframework.stereotype.Component;

import br.com.cfccultura.admin.model.dao.IFuncionarioDAO;

@Component("VerficarPontoEletronicoJob")
public class VerficarPontoEletronicoJob extends QuartzJobBean {
	
	private static final Logger logger = Logger.getLogger(VerficarPontoEletronicoJob.class);
	
	@Autowired
	private IFuncionarioDAO funcionarioDAO;

	@Override
	protected void executeInternal(JobExecutionContext arg0) throws JobExecutionException {
		logger.info("Iniciando Processamento");
		
		logger.info("Processamento Concluído");		
	}
	
	public IFuncionarioDAO getFuncionarioDAO() {
		return funcionarioDAO;
	}
	public void setFuncionarioDAO(IFuncionarioDAO funcionarioDAO) {
		this.funcionarioDAO = funcionarioDAO;
	}

}
